#!/bin/env python
# -*- coding:utf-8 -*-
class Student(object):
	def __init__(self,name,score):
		self.name=name
		self.score=score
	def print_score(self):
		print('%s: %s' % (self.name, self.score))
	def get_grade(self):
		if self.score >=90:
			return 'A'
		elif self.score >= 60:
			return 'B'
		else:
			return 'C'
if __name__=='__main__':
	bart=Student('张琰',120)
	a=bart.get_grade()
	print a
	
	
